package one.stand.exception;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author: QIK
 * @CreateDate: 2019/4/19 19:55
 */
public class FrequentlyException extends Exception {
    private static final Logger log = LoggerFactory.getLogger(FrequentlyException.class);
    public FrequentlyException() {
        log.error("频繁请求");
    }

    public FrequentlyException(String message) {
        super(message);
        log.error("频繁请求："+message);
    }
}
